package com.pvdnc.nsocket.log;

import java.util.concurrent.atomic.AtomicReference;

public abstract class AbstractLog {
    private static final AtomicReference<AbstractLog> sInstance=new AtomicReference<>();

    public static void systemReady(AbstractLog instance){
        sInstance.set(instance);
    }

    public static AbstractLog getInstance(){
        return sInstance.get();
    }

    public abstract void d(String tag,String content);

    public abstract void e(String tag,String content);
}
